package com.example.g7640.service;

import com.example.g7640.dto.ChangePasswordDto;
import com.example.g7640.dto.CustomerDto;
import com.example.g7640.dto.CustomerQuery;
import com.example.g7640.dto.common.PageResult;
import com.example.g7640.entity.Customer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author  
 * @since 2024-03-18
 */
public interface CustomerService extends IService<Customer> {

    /**
     *
     * @param id
     * @return
     */
    CustomerDto getCustomerDtoById(Integer id);

    /**
     *
     * @return
     */
    PageResult<List<CustomerDto>> query(CustomerQuery customerQuery);


    void updatePassword(ChangePasswordDto changePasswordDto);


    void resetPassword(CustomerDto customerDto);


    void deleteCustomer(Integer id);




}
